package com.cnhis.cloudhealth.clinical.medical.base.service;


import com.alibaba.dubbo.config.annotation.Service;
import com.cnhis.cloudhealth.clinical.medical.base.bo.MmembersBo;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;
import java.util.Map;

@Service
public class MmembersImpl implements IMmembers {
    @Autowired
    private MmembersBo mmembersBo;
    /**
     * @param '[map]'
     * @return java.util.Map<java.lang.String,java.lang.Object>
     * @throws
     * @Description:(获取会员病人需要扣费金额)
     * @author chengshaowei
     * @date 2016/9/19 10:30
     */
    public Map<String,Object> findDeductionAmount(Map<String, Object> map) throws Exception {
        return mmembersBo.findDeductionAmount(map);
    }

    /**
     * @param '[map]'
     * @return java.util.Map<java.lang.String,java.lang.Object>
     * @throws
     * @Description:(医技条形码检索、医技刷卡检索)
     * @author chengshaowei
     * @date 2016/9/19 10:30
     */
    public List<Map<String,Object>> findBarcodeOrCard(Map<String, Object> map) throws Exception {
        return mmembersBo.findBarcodeOrCard(map);
    }
}
